package org.xmap.secure;
public final class MD5State {
    /** 128-bit state */
    int state[];
    /** 64-bit character count */
    long count;
    /** 64-byte buffer (512 bits) for storing to-be-hashed characters */
    byte buffer[];
    public MD5State() {
        state = new int[4];
        state[0] = 0x67452301;
        state[1] = 0xefcdab89;
        state[2] = 0x98badcfe;
        state[3] = 0x10325476;
        count = 0;
        buffer = new byte[64];
    }
    public MD5State(MD5State from) {
        this();
        for (int i = 0; i < state.length; i++) {
            this.state[i] = from.state[i];
        }
        this.count = from.count;
        for (int i = 0; i < buffer.length; i++) {
            this.buffer[i] = from.buffer[i];
        }
    }
}
